package com.ruoyi.system.domain;

import java.util.Arrays;
import java.util.List;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级对象 admin_class
 * 
 * @author ruoyi
 * @date 2020-06-09
 */
public class AdminClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级编号 */
    @Excel(name = "班级编号")
    private Long classId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 教师id */
    private Long teacherId;

    /** 教师 */
    @Excel(name = "教师")
    private String teacherName;

    /** 所属单位 */
    private Long companyId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String companyName;

    /** 状态（0启用 1禁用） */
    @Excel(name = "状态", readConverterExp = "0=启用,1=禁用")
    private String status;

    /** 学生数量 */
    @Excel(name = "学生数量")
    private Long studentNum;
    
    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
    
    /** 老师组 */
    private Long[] teacherIds;
    
    private List teacherNames;
    

    /** 用户是否存在此角色标识 默认不存在 */
    private boolean flag = false;

    public boolean isFlag () {
      return flag;
    }

    public void setFlag (boolean flag) {
      this.flag = flag;
    }

  public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setStudentNum(Long studentNum) 
    {
        this.studentNum = studentNum;
    }

    public Long getStudentNum() 
    {
        return studentNum;
    }
    
    public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public Long[] getTeacherIds() {
		return teacherIds;
	}

	public void setTeacherIds(Long[] teacherIds) {
		this.teacherIds = teacherIds;
	}

	public List getTeacherNames() {
		return teacherNames;
	}

	public void setTeacherNames(List teacherNames) {
		this.teacherNames = teacherNames;
	}

	@Override
	public String toString() {
		return "AdminClass [classId=" + classId + ", className=" + className
				+ ", teacherId=" + teacherId + ", teacherName=" + teacherName
				+ ", companyId=" + companyId + ", companyName=" + companyName
				+ ", status=" + status + ", studentNum=" + studentNum
				+ ", teacherIds=" + Arrays.toString(teacherIds) + "]";
	}
}
